package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.dto.ProjMoneyDTO;
import cn.topevery.garden.entity.po.ProjPayment;
import cn.topevery.garden.entity.query.ProjPaymentQuery;
import cn.topevery.garden.entity.vo.ProjPaymentMoneyVO;
import cn.topevery.garden.entity.vo.ProjPaymentVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 项目支付表
 *
 * @author code-generate
 * @date 2022-11-02
 */
public interface ProjPaymentDao extends BaseDao<ProjPayment> {

    /**
     * 获取列表
     *
     * @param query
     * @return
     */
    List<ProjPaymentVO> list(ProjPaymentQuery query);

    /**
     * 获取分页列表
     *
     * @param query
     * @return
     */
    DataPager<ProjPaymentVO> listPage(ProjPaymentQuery query);

    ProjPayment getEntityByGuidId(String projPaymentId);

    ProjPaymentMoneyVO getPaymentMoney(ProjMoneyDTO moneyDTO);

}
